home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 June / SGI IRIX Base Documentation 1998 June.iso / CDinfosearch < prev    next >
Text File  |  1998-05-26  |  2KB  |  43 lines

  1. #! /bin/sh
  2.  
  3. SRCDIR=`dirname $0`
  4.  
  5. if [ $SRCDIR = "." ]
  6. then
  7.     SRCDIR=`pwd`
  8. fi
  9.  
  10. echo "\nInfoSearch\n\
  11. ==========\n\
  12. InfoSearch requires that two configuration files be modified in order to\n\
  13. work properly with the content found on this CD-ROM. InfoSearch can ONLY be\n\
  14. used if the host machine accessing the content on this CD-ROM is on IRIX 6.5.\n\
  15. InfoSearch (version 2.0) and Dynaweb (version 3.1 or higher) are both required,\n\
  16. and the stated versions of those products are currently distributed only with\n\
  17. IRIX 6.5.\n\n\
  18. If your host machine meets these requirements, follow these steps:\n\n\
  19. 1. Edit the file:  /usr/lib/infosearch/C/infosrch.cfg\n\n\
  20. 2. Locate the line (approximately line #128) that looks like this:\n\n\
  21.    \t<COLLECTION TITLE=\"IRIX 6.5\" ID=\"0650\" PATH=\"/\">\n\n\
  22.    and change it to look like this:\n\n\
  23.    \t<COLLECTION TITLE=\"IRIX 6.5\" ID=\"0650\" PATH=\"$SRCDIR\">\n\n\
  24. 3. Save the file.\n\n\
  25. 4. Edit the file:  /usr/lib/Insight/data/config/collects.dwc\n\n\
  26. 5. Locate all lines (starting at approximately line #74) that look like this:\n\n\
  27.    \tlocation /usr/share/Insight/library/SGI_bookshelves/...\n\n\
  28.    and change each instance (4 in all) to look like this:\n\n\
  29.    \tlocation $SRCDIR/usr/share/Insight/library/SGI_bookshelves/...\n\n\
  30. 6. Make the SGI_Developer collection visible by locating the line:\n\n\
  31.    \tdwCollection SGI_Developer {\n\n\
  32.    If necessary, change the attribute 4 lines below it from:\n\n\
  33.    \t\"hide     true\"\n\n\
  34.    to:\n\n\
  35.    \t\"hide     false\"\n\n\
  36. 7. Save the file.\n\n\
  37. 8. InfoSearch (and Dynaweb) should now be able to find/use the content found\n\
  38.    on this CD-ROM.\n\n\
  39. 9. Revert back to previous version(s) of these files, or back out the changes\n\
  40.    (ie. remove \"$SRCDIR\"), if this CD-ROM is not being used.\n" | more
  41.  
  42. exit
  43.